package test1225;

public class Test01 {
    public  static  double m01(int a,float b,double c){
        int e = max(max(a,b),(int) c);
        return e;

    }
    public static int max(int a,float b){
        return a>b?a: (int) b;
    }


    public static void main(String[] args) {
        // 返回3个变量中的最大值
        int a = 2;
        float b = 3.0F;
        double c = 4.0;
        double d = m01(a, b, c);
        System.out.println(d);

    }
}
